/** 
 * @Title: RelationShip.java 
 * @Package wordrelationship 
 * @Description: TODO
 * @author HeYan
 * @date 2016年10月10日 下午1:22:29 
 */
package wordrelationship.dao;

/**
 * @ClassName: RelationShip
 * @Description: TODO
 * @author HeYan
 * @date 2016年10月10日 下午1:22:29
 * 
 */
public class RelationShip {
	private String word1;
	private String word2;
	private double res;

	/**
	 * @param word1
	 * @param word2
	 * @param res
	 */
	public RelationShip(String word1, String word2, double res) {
		super();
		this.word1 = word1;
		this.word2 = word2;
		this.res = res;
	}

	/**
	 * @return word1
	 */
	public String getWord1() {
		return word1;
	}

	/**
	 * @param word1
	 */
	public void setWord1(String word1) {
		this.word1 = word1;
	}

	/**
	 * @return word2
	 */
	public String getWord2() {
		return word2;
	}

	/**
	 * @param word2
	 */
	public void setWord2(String word2) {
		this.word2 = word2;
	}

	/**
	 * @return res
	 */
	public double getRes() {
		return res;
	}

	/**
	 * @param res
	 */
	public void setRes(double res) {
		this.res = res;
	}

}
